//
//  HotModel.m
//  CivilianTravel
//
//  Created by xalo on 16/7/14.
//  Copyright © 2016年 许仕杰. All rights reserved.
//

#import "HotModel.h"

@implementation HotModel
-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"id"]) {
        [self setValue:value forKey:@"ID"];
        
    }
    if ([key isEqualToString:@"created_by"]) {
        
        for (NSDictionary *l in value) {
            
        
        if ([key isEqualToString:@"id"]) {
            self.ID2 = l[@"id"];
        }
    }
    }

}
// if ([key isEqualToString:@"pictures"]) {
//for (NSDictionary *l in value) {
//    self.picture = l[@"picture"];
//}
//
//}
@end
